
Research
/Security News
CanisterWorm: npm Publisher Compromise Deploys Backdoor Across 29+ Packages
The worm-enabled campaign hit @emilgroup and @teale.io, then used an ICP canister to deliver follow-on payloads.
@xyo-network/react-chain-provider
Advanced tools
XYO Layer One API
@xyo-network/react-chain-provider
@xyo-network/react-chain-provider
new TransactionConfirmationStatus(params): TransactionConfirmationStatus;
TransactionConfirmationStatus
get exp(): number;
number
get nbf(): number;
number
get onStatusUpdate(): (status) => void | undefined;
(status) => void | undefined
get params(): TransactionConfirmationParams;
get transaction(): SignedHydratedTransaction;
SignedHydratedTransaction
get txHash(): Hash;
Hash
get viewer(): XyoViewer;
XyoViewer
static create(params): Promisable<TransactionConfirmationStatus>;
Promisable<TransactionConfirmationStatus>
start(): Promise<void>;
Promise<void>
stop(): Promisable<void>;
Promisable<void>
@xyo-network/react-chain-provider
function balanceForRange(address, results): [AttoXL1, AttoXL1];
Address
AccountBalanceHistoryItem[]
[AttoXL1, AttoXL1]
@xyo-network/react-chain-provider
function findMinimumBlock(history): number;
AccountBalanceHistoryItem[]
number
@xyo-network/react-chain-provider
function formatAccountBalanceHistory(address, history): AccountBalanceHistoryItemFormatted[];
Address
AccountBalanceHistoryItem[]
AccountBalanceHistoryItemFormatted[]
@xyo-network/react-chain-provider
function getXyoClient(timeout): Promise<ReturnType>;
number = CLIENT_LISTENER_TIMEOUT
Promise<ReturnType>
@xyo-network/react-chain-provider
function listenForClientInjection(
onClientReady,
timeout,
onTimeout): void;
() => void
number
() => void
void
@xyo-network/react-chain-provider
function useAccountBalanceHistory(
address?,
viewer?,
refresh?): [
| {
history: AccountBalanceHistoryItemFormatted[];
balance: [AttoXL1, AttoXL1];
truncated: boolean;
}
| undefined, Error | undefined, UsePromiseState | undefined];
Address
XyoViewer
number
[
| {
history: AccountBalanceHistoryItemFormatted[];
balance: [AttoXL1, AttoXL1];
truncated: boolean;
}
| undefined, Error | undefined, UsePromiseState | undefined]
@xyo-network/react-chain-provider
function useAccountPermissions(): [readonly string[] | undefined, Error | undefined, UsePromiseState | undefined];
[readonly string[] | undefined, Error | undefined, UsePromiseState | undefined]
@xyo-network/react-chain-provider
function useAddressBalance(
address?,
viewer?,
refresh?): object;
Address
XyoViewer
number
object
address: Address | undefined;
balanceForAddress: AttoXL1 | null | undefined = balancesResult;
balanceIntlFriendly: string | undefined;
shortBalanceIntlFriendly: string | undefined;
error: Error | undefined = balancesError;
loading: boolean;
@xyo-network/react-chain-provider
function useCheckLocalRpc(): object;
object
isLocalProducer: boolean;
error: Error | undefined;
@xyo-network/react-chain-provider
function useCheckRpc(endpoint?): object;
string
object
isLocalProducer: boolean;
error: Error | undefined;
@xyo-network/react-chain-provider
function useCheckSequenceRpc(): object;
object
isLocalProducer: boolean;
error: Error | undefined;
@xyo-network/react-chain-provider
function useClient(timeout?): ClientState;
number
ClientState
@xyo-network/react-chain-provider
function useConfirmTransactionBase(
transaction?,
onBroadcast?,
onStatusUpdate?,
runner?,
viewer?): object;
SignedHydratedTransaction
(hash) => void
(status) => void
XyoRunner
XyoViewer
object
status:
| ConfirmationStatusUpdate
| undefined;
transactionConfirmationError: Error | undefined;
@xyo-network/react-chain-provider
function useConnectAccount(gatewayName, timeout?): object;
GatewayName = MainNetwork.id
number
object
address: Address | undefined;
connectSigner: () => Promise<Address | undefined>;
Promise<Address | undefined>
error: Error | undefined;
gateway: XyoGateway | null | undefined;
timedout: boolean;
@xyo-network/react-chain-provider
function useCurrentBlock(refresh, viewer?): [HydratedBlock | undefined, Error | undefined, UsePromiseState | undefined];
number = 1
XyoViewer | null
[HydratedBlock | undefined, Error | undefined, UsePromiseState | undefined]
@xyo-network/react-chain-provider
function useGateway(gatewayName?, timeout?): object;
GatewayName
number
object
gateway: XyoGateway | null | undefined;
isLoading: boolean;
error: Error | null;
timedout: boolean;
@xyo-network/react-chain-provider
function useHttpRpcRunner(url?): JsonRpcXyoRunner | undefined;
string
JsonRpcXyoRunner | undefined
@xyo-network/react-chain-provider
function useHttpRpcViewer(url?): JsonRpcXyoViewer | undefined;
string
JsonRpcXyoViewer | undefined
@xyo-network/react-chain-provider
function useNetwork(id?): SimpleXyoNetwork | undefined;
DefaultNetworkIds
SimpleXyoNetwork | undefined
@xyo-network/react-chain-provider
function usePermissions(): object;
object
permissions: XyoPermissions | undefined;
isLoading: boolean;
error: Error | null;
timedout: boolean;
@xyo-network/react-chain-provider
function useSigner(_provider?, account?): XyoSigner | undefined;
XyoConnection
AccountInstance
XyoSigner | undefined
@xyo-network/react-chain-provider
function useViewerFromWallet(networkId?, timeout?): [XyoViewer | null | undefined, Error | undefined, UsePromiseState | undefined];
Creates a JsonRpcXyoViewer instance based on the provided networkId.
GatewayName
a network id like 'sequence', 'local', etc.
number
[XyoViewer | null | undefined, Error | undefined, UsePromiseState | undefined]
An instance of XyoViewer if the networkId is found in wallet gateways otherwise undefined.
@xyo-network/react-chain-provider
amount: bigint;
blockNumber: number;
debug: AccountBalanceHistoryItem;
from: Address;
key: string;
timestamp: number;
to: Address;
txHash: Hash | undefined;
type: BalanceTransactionType;
@xyo-network/react-chain-provider
StackPropsoptional border:
| ResponsiveStyleValue<
| number
| string & object
| "inset"
| "hidden"
| "-moz-initial"
| "inherit"
| "initial"
| "revert"
| "revert-layer"
| "unset"
| "medium"
| "thick"
| "thin"
| "dashed"
| "dotted"
| "double"
| "groove"
| "none"
| "outset"
| "ridge"
| "solid"
| "aliceblue"
| "antiquewhite"
| "aqua"
| "aquamarine"
| "azure"
| "beige"
| "bisque"
| "black"
| "blanchedalmond"
| "blue"
| "blueviolet"
| "brown"
| "burlywood"
| "cadetblue"
| "chartreuse"
| "chocolate"
| "coral"
| "cornflowerblue"
| "cornsilk"
| "crimson"
| "cyan"
| "darkblue"
| "darkcyan"
| "darkgoldenrod"
| "darkgray"
| "darkgreen"
| "darkgrey"
| "darkkhaki"
| "darkmagenta"
| "darkolivegreen"
| "darkorange"
| "darkorchid"
| "darkred"
| "darksalmon"
| "darkseagreen"
| "darkslateblue"
| "darkslategray"
| "darkslategrey"
| "darkturquoise"
| "darkviolet"
| "deeppink"
| "deepskyblue"
| "dimgray"
| "dimgrey"
| "dodgerblue"
| "firebrick"
| "floralwhite"
| "forestgreen"
| "fuchsia"
| "gainsboro"
| "ghostwhite"
| "gold"
| "goldenrod"
| "gray"
| "green"
| "greenyellow"
| "grey"
| "honeydew"
| "hotpink"
| "indianred"
| "indigo"
| "ivory"
| "khaki"
| "lavender"
| "lavenderblush"
| "lawngreen"
| "lemonchiffon"
| "lightblue"
| "lightcoral"
| "lightcyan"
| "lightgoldenrodyellow"
| "lightgray"
| "lightgreen"
| "lightgrey"
| "lightpink"
| "lightsalmon"
| "lightseagreen"
| "lightskyblue"
| "lightslategray"
| "lightslategrey"
| "lightsteelblue"
| "lightyellow"
| "lime"
| "limegreen"
| "linen"
| "magenta"
| "maroon"
| "mediumaquamarine"
| "mediumblue"
| "mediumorchid"
| "mediumpurple"
| "mediumseagreen"
| "mediumslateblue"
| "mediumspringgreen"
| "mediumturquoise"
| "mediumvioletred"
| "midnightblue"
| "mintcream"
| "mistyrose"
| "moccasin"
| "navajowhite"
| "navy"
| "oldlace"
| "olive"
| "olivedrab"
| "orange"
| "orangered"
| "orchid"
| "palegoldenrod"
| "palegreen"
| "paleturquoise"
| "palevioletred"
| "papayawhip"
| "peachpuff"
| "peru"
| "pink"
| "plum"
| "powderblue"
| "purple"
| "rebeccapurple"
| "red"
| "rosybrown"
| "royalblue"
| "saddlebrown"
| "salmon"
| "sandybrown"
| "seagreen"
| "seashell"
| "sienna"
| "silver"
| "skyblue"
| "slateblue"
| "slategray"
| "slategrey"
| "snow"
| "springgreen"
| "steelblue"
| "tan"
| "teal"
| "thistle"
| "tomato"
| "turquoise"
| "violet"
| "wheat"
| "white"
| "whitesmoke"
| "yellow"
| "yellowgreen"
| "transparent"
| "AccentColor"
| "AccentColorText"
| "ActiveText"
| "ButtonBorder"
| "ButtonFace"
| "ButtonText"
| "Canvas"
| "CanvasText"
| "Field"
| "FieldText"
| "GrayText"
| "Highlight"
| "HighlightText"
| "LinkText"
| "Mark"
| "MarkText"
| "SelectedItem"
| "SelectedItemText"
| "VisitedText"
| "ActiveBorder"
| "ActiveCaption"
| "AppWorkspace"
| "Background"
| "ButtonHighlight"
| "ButtonShadow"
| "CaptionText"
| "InactiveBorder"
| "InactiveCaption"
| "InactiveCaptionText"
| "InfoBackground"
| "InfoText"
| "Menu"
| "MenuText"
| "Scrollbar"
| "ThreeDDarkShadow"
| "ThreeDFace"
| "ThreeDHighlight"
| "ThreeDLightShadow"
| "ThreeDShadow"
| "Window"
| "WindowFrame"
| "WindowText"
| "currentColor"
| undefined>
| (theme) => ResponsiveStyleValue<
| number
| string & object
| "inset"
| "hidden"
| "-moz-initial"
| "inherit"
| "initial"
| "revert"
| "revert-layer"
| "unset"
| "medium"
| "thick"
| "thin"
| "dashed"
| "dotted"
| "double"
| "groove"
| "none"
| "outset"
| "ridge"
| "solid"
| "aliceblue"
| "antiquewhite"
| "aqua"
| "aquamarine"
| "azure"
| "beige"
| "bisque"
| "black"
| "blanchedalmond"
| "blue"
| "blueviolet"
| "brown"
| "burlywood"
| "cadetblue"
| "chartreuse"
| "chocolate"
| "coral"
| "cornflowerblue"
| "cornsilk"
| "crimson"
| "cyan"
| "darkblue"
| "darkcyan"
| "darkgoldenrod"
| "darkgray"
| "darkgreen"
| "darkgrey"
| "darkkhaki"
| "darkmagenta"
| "darkolivegreen"
| "darkorange"
| "darkorchid"
| "darkred"
| "darksalmon"
| "darkseagreen"
| "darkslateblue"
| "darkslategray"
| "darkslategrey"
| "darkturquoise"
| "darkviolet"
| "deeppink"
| "deepskyblue"
| "dimgray"
| "dimgrey"
| "dodgerblue"
| "firebrick"
| "floralwhite"
| "forestgreen"
| "fuchsia"
| "gainsboro"
| "ghostwhite"
| "gold"
| "goldenrod"
| "gray"
| "green"
| "greenyellow"
| "grey"
| "honeydew"
| "hotpink"
| "indianred"
| "indigo"
| "ivory"
| "khaki"
| "lavender"
| "lavenderblush"
| "lawngreen"
| "lemonchiffon"
| "lightblue"
| "lightcoral"
| "lightcyan"
| "lightgoldenrodyellow"
| "lightgray"
| "lightgreen"
| "lightgrey"
| "lightpink"
| "lightsalmon"
| "lightseagreen"
| "lightskyblue"
| "lightslategray"
| "lightslategrey"
| "lightsteelblue"
| "lightyellow"
| "lime"
| "limegreen"
| "linen"
| "magenta"
| "maroon"
| "mediumaquamarine"
| "mediumblue"
| "mediumorchid"
| "mediumpurple"
| "mediumseagreen"
| "mediumslateblue"
| "mediumspringgreen"
| "mediumturquoise"
| "mediumvioletred"
| "midnightblue"
| "mintcream"
| "mistyrose"
| "moccasin"
| "navajowhite"
| "navy"
| "oldlace"
| "olive"
| "olivedrab"
| "orange"
| "orangered"
| "orchid"
| "palegoldenrod"
| "palegreen"
| "paleturquoise"
| "palevioletred"
| "papayawhip"
| "peachpuff"
| "peru"
| "pink"
| "plum"
| "powderblue"
| "purple"
| "rebeccapurple"
| "red"
| "rosybrown"
| "royalblue"
| "saddlebrown"
| "salmon"
| "sandybrown"
| "seagreen"
| "seashell"
| "sienna"
| "silver"
| "skyblue"
| "slateblue"
| "slategray"
| "slategrey"
| "snow"
| "springgreen"
| "steelblue"
| "tan"
| "teal"
| "thistle"
| "tomato"
| "turquoise"
| "violet"
| "wheat"
| "white"
| "whitesmoke"
| "yellow"
| "yellowgreen"
| "transparent"
| "AccentColor"
| "AccentColorText"
| "ActiveText"
| "ButtonBorder"
| "ButtonFace"
| "ButtonText"
| "Canvas"
| "CanvasText"
| "Field"
| "FieldText"
| "GrayText"
| "Highlight"
| "HighlightText"
| "LinkText"
| "Mark"
| "MarkText"
| "SelectedItem"
| "SelectedItemText"
| "VisitedText"
| "ActiveBorder"
| "ActiveCaption"
| "AppWorkspace"
| "Background"
| "ButtonHighlight"
| "ButtonShadow"
| "CaptionText"
| "InactiveBorder"
| "InactiveCaption"
| "InactiveCaptionText"
| "InfoBackground"
| "InfoText"
| "Menu"
| "MenuText"
| "Scrollbar"
| "ThreeDDarkShadow"
| "ThreeDFace"
| "ThreeDHighlight"
| "ThreeDLightShadow"
| "ThreeDShadow"
| "Window"
| "WindowFrame"
| "WindowText"
| "currentColor"
| undefined>;
StackProps.border
optional borderTop:
| ResponsiveStyleValue<BorderTop<string | number> | readonly NonNullable<BorderTop<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<BorderTop<string | number> | readonly NonNullable<BorderTop<string | number> | undefined>[] | undefined>;
StackProps.borderTop
optional borderRight:
| ResponsiveStyleValue<BorderRight<string | number> | readonly NonNullable<BorderRight<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<BorderRight<string | number> | readonly NonNullable<BorderRight<string | number> | undefined>[] | undefined>;
StackProps.borderRight
optional borderBottom:
| ResponsiveStyleValue<BorderBottom<string | number> | readonly NonNullable<BorderBottom<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<BorderBottom<string | number> | readonly NonNullable<BorderBottom<string | number> | undefined>[] | undefined>;
StackProps.borderBottom
optional borderLeft:
| ResponsiveStyleValue<BorderLeft<string | number> | readonly NonNullable<BorderLeft<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<BorderLeft<string | number> | readonly NonNullable<BorderLeft<string | number> | undefined>[] | undefined>;
StackProps.borderLeft
optional borderColor:
| ResponsiveStyleValue<BorderColor | readonly string[] | undefined>
| (theme) => ResponsiveStyleValue<BorderColor | readonly string[] | undefined>;
StackProps.borderColor
optional borderRadius:
| ResponsiveStyleValue<BorderRadius<string | number> | readonly NonNullable<BorderRadius<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<BorderRadius<string | number> | readonly NonNullable<BorderRadius<string | number> | undefined>[] | undefined>;
StackProps.borderRadius
optional display:
| ResponsiveStyleValue<readonly string[] | Display | undefined>
| (theme) => ResponsiveStyleValue<readonly string[] | Display | undefined>;
StackProps.display
optional displayPrint:
| ResponsiveStyleValue<readonly string[] | Display | undefined>
| (theme) => ResponsiveStyleValue<readonly string[] | Display | undefined>;
StackProps.displayPrint
optional overflow:
| ResponsiveStyleValue<readonly string[] | Overflow | undefined>
| (theme) => ResponsiveStyleValue<readonly string[] | Overflow | undefined>;
StackProps.overflow
optional textOverflow:
| ResponsiveStyleValue<readonly string[] | TextOverflow | undefined>
| (theme) => ResponsiveStyleValue<readonly string[] | TextOverflow | undefined>;
StackProps.textOverflow
optional visibility:
| ResponsiveStyleValue<Visibility | readonly NonNullable<Visibility | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<Visibility | readonly NonNullable<Visibility | undefined>[] | undefined>;
StackProps.visibility
optional whiteSpace:
| ResponsiveStyleValue<readonly string[] | WhiteSpace | undefined>
| (theme) => ResponsiveStyleValue<readonly string[] | WhiteSpace | undefined>;
StackProps.whiteSpace
optional flexBasis:
| ResponsiveStyleValue<FlexBasis<string | number> | readonly NonNullable<FlexBasis<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<FlexBasis<string | number> | readonly NonNullable<FlexBasis<string | number> | undefined>[] | undefined>;
StackProps.flexBasis
optional flexDirection:
| ResponsiveStyleValue<FlexDirection | readonly NonNullable<FlexDirection | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<FlexDirection | readonly NonNullable<FlexDirection | undefined>[] | undefined>;
StackProps.flexDirection
optional flexWrap:
| ResponsiveStyleValue<FlexWrap | readonly NonNullable<FlexWrap | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<FlexWrap | readonly NonNullable<FlexWrap | undefined>[] | undefined>;
StackProps.flexWrap
optional justifyContent:
| ResponsiveStyleValue<readonly string[] | JustifyContent | undefined>
| (theme) => ResponsiveStyleValue<readonly string[] | JustifyContent | undefined>;
StackProps.justifyContent
optional alignItems:
| ResponsiveStyleValue<readonly string[] | AlignItems | undefined>
| (theme) => ResponsiveStyleValue<readonly string[] | AlignItems | undefined>;
StackProps.alignItems
optional alignContent:
| ResponsiveStyleValue<readonly string[] | AlignContent | undefined>
| (theme) => ResponsiveStyleValue<readonly string[] | AlignContent | undefined>;
StackProps.alignContent
optional order:
| ResponsiveStyleValue<Order | readonly NonNullable<Order | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<Order | readonly NonNullable<Order | undefined>[] | undefined>;
StackProps.order
optional flex:
| ResponsiveStyleValue<Flex<string | number> | readonly NonNullable<Flex<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<Flex<string | number> | readonly NonNullable<Flex<string | number> | undefined>[] | undefined>;
StackProps.flex
optional flexGrow:
| ResponsiveStyleValue<FlexGrow | readonly NonNullable<FlexGrow | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<FlexGrow | readonly NonNullable<FlexGrow | undefined>[] | undefined>;
StackProps.flexGrow
optional flexShrink:
| ResponsiveStyleValue<FlexShrink | readonly NonNullable<FlexShrink | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<FlexShrink | readonly NonNullable<FlexShrink | undefined>[] | undefined>;
StackProps.flexShrink
optional alignSelf:
| ResponsiveStyleValue<readonly string[] | AlignSelf | undefined>
| (theme) => ResponsiveStyleValue<readonly string[] | AlignSelf | undefined>;
StackProps.alignSelf
optional justifyItems:
| ResponsiveStyleValue<readonly string[] | JustifyItems | undefined>
| (theme) => ResponsiveStyleValue<readonly string[] | JustifyItems | undefined>;
StackProps.justifyItems
optional justifySelf:
| ResponsiveStyleValue<readonly string[] | JustifySelf | undefined>
| (theme) => ResponsiveStyleValue<readonly string[] | JustifySelf | undefined>;
StackProps.justifySelf
optional gap:
| ResponsiveStyleValue<Gap<string | number> | readonly NonNullable<Gap<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<Gap<string | number> | readonly NonNullable<Gap<string | number> | undefined>[] | undefined>;
StackProps.gap
optional columnGap:
| ResponsiveStyleValue<ColumnGap<string | number> | readonly NonNullable<ColumnGap<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<ColumnGap<string | number> | readonly NonNullable<ColumnGap<string | number> | undefined>[] | undefined>;
StackProps.columnGap
optional rowGap:
| ResponsiveStyleValue<RowGap<string | number> | readonly NonNullable<RowGap<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<RowGap<string | number> | readonly NonNullable<RowGap<string | number> | undefined>[] | undefined>;
StackProps.rowGap
optional gridColumn:
| ResponsiveStyleValue<GridColumn | readonly NonNullable<GridColumn | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<GridColumn | readonly NonNullable<GridColumn | undefined>[] | undefined>;
StackProps.gridColumn
optional gridRow:
| ResponsiveStyleValue<GridRow | readonly NonNullable<GridRow | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<GridRow | readonly NonNullable<GridRow | undefined>[] | undefined>;
StackProps.gridRow
optional gridAutoFlow:
| ResponsiveStyleValue<readonly string[] | GridAutoFlow | undefined>
| (theme) => ResponsiveStyleValue<readonly string[] | GridAutoFlow | undefined>;
StackProps.gridAutoFlow
optional gridAutoColumns:
| ResponsiveStyleValue<GridAutoColumns<string | number> | readonly NonNullable<GridAutoColumns<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<GridAutoColumns<string | number> | readonly NonNullable<GridAutoColumns<string | number> | undefined>[] | undefined>;
StackProps.gridAutoColumns
optional gridAutoRows:
| ResponsiveStyleValue<GridAutoRows<string | number> | readonly NonNullable<GridAutoRows<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<GridAutoRows<string | number> | readonly NonNullable<GridAutoRows<string | number> | undefined>[] | undefined>;
StackProps.gridAutoRows
optional gridTemplateColumns:
| ResponsiveStyleValue<GridTemplateColumns<string | number> | readonly NonNullable<GridTemplateColumns<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<GridTemplateColumns<string | number> | readonly NonNullable<GridTemplateColumns<string | number> | undefined>[] | undefined>;
StackProps.gridTemplateColumns
optional gridTemplateRows:
| ResponsiveStyleValue<GridTemplateRows<string | number> | readonly NonNullable<GridTemplateRows<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<GridTemplateRows<string | number> | readonly NonNullable<GridTemplateRows<string | number> | undefined>[] | undefined>;
StackProps.gridTemplateRows
optional gridTemplateAreas:
| ResponsiveStyleValue<readonly string[] | GridTemplateAreas | undefined>
| (theme) => ResponsiveStyleValue<readonly string[] | GridTemplateAreas | undefined>;
StackProps.gridTemplateAreas
optional gridArea:
| ResponsiveStyleValue<GridArea | readonly NonNullable<GridArea | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<GridArea | readonly NonNullable<GridArea | undefined>[] | undefined>;
StackProps.gridArea
optional bgcolor:
| ResponsiveStyleValue<readonly string[] | BackgroundColor | undefined>
| (theme) => ResponsiveStyleValue<readonly string[] | BackgroundColor | undefined>;
StackProps.bgcolor
optional color:
| ResponsiveStyleValue<readonly string[] | Color | undefined>
| (theme) => ResponsiveStyleValue<readonly string[] | Color | undefined>;
StackProps.color
optional zIndex:
| ResponsiveStyleValue<string | string & object | number & object | undefined>
| (theme) => ResponsiveStyleValue<string | string & object | number & object | undefined>;
StackProps.zIndex
optional position:
| ResponsiveStyleValue<Position | readonly NonNullable<Position | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<Position | readonly NonNullable<Position | undefined>[] | undefined>;
StackProps.position
optional top:
| ResponsiveStyleValue<Top<string | number> | readonly NonNullable<Top<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<Top<string | number> | readonly NonNullable<Top<string | number> | undefined>[] | undefined>;
StackProps.top
optional right:
| ResponsiveStyleValue<Right<string | number> | readonly NonNullable<Right<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<Right<string | number> | readonly NonNullable<Right<string | number> | undefined>[] | undefined>;
StackProps.right
optional bottom:
| ResponsiveStyleValue<Bottom<string | number> | readonly NonNullable<Bottom<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<Bottom<string | number> | readonly NonNullable<Bottom<string | number> | undefined>[] | undefined>;
StackProps.bottom
optional left:
| ResponsiveStyleValue<Left<string | number> | readonly NonNullable<Left<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<Left<string | number> | readonly NonNullable<Left<string | number> | undefined>[] | undefined>;
StackProps.left
optional boxShadow:
| ResponsiveStyleValue<number | BoxShadow | undefined>
| (theme) => ResponsiveStyleValue<number | BoxShadow | undefined>;
StackProps.boxShadow
optional width:
| ResponsiveStyleValue<Width<string | number> | readonly NonNullable<Width<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<Width<string | number> | readonly NonNullable<Width<string | number> | undefined>[] | undefined>;
StackProps.width
optional maxWidth:
| ResponsiveStyleValue<MaxWidth<string | number> | readonly NonNullable<MaxWidth<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<MaxWidth<string | number> | readonly NonNullable<MaxWidth<string | number> | undefined>[] | undefined>;
StackProps.maxWidth
optional minWidth:
| ResponsiveStyleValue<MinWidth<string | number> | readonly NonNullable<MinWidth<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<MinWidth<string | number> | readonly NonNullable<MinWidth<string | number> | undefined>[] | undefined>;
StackProps.minWidth
optional height:
| ResponsiveStyleValue<Height<string | number> | readonly NonNullable<Height<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<Height<string | number> | readonly NonNullable<Height<string | number> | undefined>[] | undefined>;
StackProps.height
optional maxHeight:
| ResponsiveStyleValue<MaxHeight<string | number> | readonly NonNullable<MaxHeight<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<MaxHeight<string | number> | readonly NonNullable<MaxHeight<string | number> | undefined>[] | undefined>;
StackProps.maxHeight
optional minHeight:
| ResponsiveStyleValue<MinHeight<string | number> | readonly NonNullable<MinHeight<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<MinHeight<string | number> | readonly NonNullable<MinHeight<string | number> | undefined>[] | undefined>;
StackProps.minHeight
optional boxSizing:
| ResponsiveStyleValue<BoxSizing | readonly NonNullable<BoxSizing | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<BoxSizing | readonly NonNullable<BoxSizing | undefined>[] | undefined>;
StackProps.boxSizing
optional m:
| ResponsiveStyleValue<Margin<string | number> | readonly NonNullable<Margin<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<Margin<string | number> | readonly NonNullable<Margin<string | number> | undefined>[] | undefined>;
StackProps.m
optional mt:
| ResponsiveStyleValue<MarginTop<string | number> | readonly NonNullable<MarginTop<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<MarginTop<string | number> | readonly NonNullable<MarginTop<string | number> | undefined>[] | undefined>;
StackProps.mt
optional mr:
| ResponsiveStyleValue<MarginRight<string | number> | readonly NonNullable<MarginRight<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<MarginRight<string | number> | readonly NonNullable<MarginRight<string | number> | undefined>[] | undefined>;
StackProps.mr
optional mb:
| ResponsiveStyleValue<MarginBottom<string | number> | readonly NonNullable<MarginBottom<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<MarginBottom<string | number> | readonly NonNullable<MarginBottom<string | number> | undefined>[] | undefined>;
StackProps.mb
optional ml:
| ResponsiveStyleValue<MarginLeft<string | number> | readonly NonNullable<MarginLeft<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<MarginLeft<string | number> | readonly NonNullable<MarginLeft<string | number> | undefined>[] | undefined>;
StackProps.ml
optional mx:
| ResponsiveStyleValue<MarginLeft<string | number> | readonly NonNullable<MarginLeft<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<MarginLeft<string | number> | readonly NonNullable<MarginLeft<string | number> | undefined>[] | undefined>;
StackProps.mx
optional my:
| ResponsiveStyleValue<MarginTop<string | number> | readonly NonNullable<MarginTop<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<MarginTop<string | number> | readonly NonNullable<MarginTop<string | number> | undefined>[] | undefined>;
StackProps.my
optional p:
| ResponsiveStyleValue<Padding<string | number> | readonly NonNullable<Padding<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<Padding<string | number> | readonly NonNullable<Padding<string | number> | undefined>[] | undefined>;
StackProps.p
optional pt:
| ResponsiveStyleValue<PaddingTop<string | number> | readonly NonNullable<PaddingTop<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<PaddingTop<string | number> | readonly NonNullable<PaddingTop<string | number> | undefined>[] | undefined>;
StackProps.pt
optional pr:
| ResponsiveStyleValue<PaddingRight<string | number> | readonly NonNullable<PaddingRight<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<PaddingRight<string | number> | readonly NonNullable<PaddingRight<string | number> | undefined>[] | undefined>;
StackProps.pr
optional pb:
| ResponsiveStyleValue<PaddingBottom<string | number> | readonly NonNullable<PaddingBottom<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<PaddingBottom<string | number> | readonly NonNullable<PaddingBottom<string | number> | undefined>[] | undefined>;
StackProps.pb
optional pl:
| ResponsiveStyleValue<PaddingLeft<string | number> | readonly NonNullable<PaddingLeft<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<PaddingLeft<string | number> | readonly NonNullable<PaddingLeft<string | number> | undefined>[] | undefined>;
StackProps.pl
optional px:
| ResponsiveStyleValue<PaddingLeft<string | number> | readonly NonNullable<PaddingLeft<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<PaddingLeft<string | number> | readonly NonNullable<PaddingLeft<string | number> | undefined>[] | undefined>;
StackProps.px
optional py:
| ResponsiveStyleValue<PaddingTop<string | number> | readonly NonNullable<PaddingTop<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<PaddingTop<string | number> | readonly NonNullable<PaddingTop<string | number> | undefined>[] | undefined>;
StackProps.py
optional margin:
| ResponsiveStyleValue<Margin<string | number> | readonly NonNullable<Margin<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<Margin<string | number> | readonly NonNullable<Margin<string | number> | undefined>[] | undefined>;
StackProps.margin
optional marginTop:
| ResponsiveStyleValue<MarginTop<string | number> | readonly NonNullable<MarginTop<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<MarginTop<string | number> | readonly NonNullable<MarginTop<string | number> | undefined>[] | undefined>;
StackProps.marginTop
optional marginRight:
| ResponsiveStyleValue<MarginRight<string | number> | readonly NonNullable<MarginRight<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<MarginRight<string | number> | readonly NonNullable<MarginRight<string | number> | undefined>[] | undefined>;
StackProps.marginRight
optional marginBottom:
| ResponsiveStyleValue<MarginBottom<string | number> | readonly NonNullable<MarginBottom<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<MarginBottom<string | number> | readonly NonNullable<MarginBottom<string | number> | undefined>[] | undefined>;
StackProps.marginBottom
optional marginLeft:
| ResponsiveStyleValue<MarginLeft<string | number> | readonly NonNullable<MarginLeft<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<MarginLeft<string | number> | readonly NonNullable<MarginLeft<string | number> | undefined>[] | undefined>;
StackProps.marginLeft
optional marginX:
| ResponsiveStyleValue<MarginLeft<string | number> | readonly NonNullable<MarginLeft<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<MarginLeft<string | number> | readonly NonNullable<MarginLeft<string | number> | undefined>[] | undefined>;
StackProps.marginX
optional marginY:
| ResponsiveStyleValue<MarginTop<string | number> | readonly NonNullable<MarginTop<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<MarginTop<string | number> | readonly NonNullable<MarginTop<string | number> | undefined>[] | undefined>;
StackProps.marginY
optional marginInline:
| ResponsiveStyleValue<MarginInline<string | number> | readonly NonNullable<MarginInline<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<MarginInline<string | number> | readonly NonNullable<MarginInline<string | number> | undefined>[] | undefined>;
StackProps.marginInline
optional marginInlineStart:
| ResponsiveStyleValue<MarginInlineStart<string | number> | readonly NonNullable<MarginInlineStart<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<MarginInlineStart<string | number> | readonly NonNullable<MarginInlineStart<string | number> | undefined>[] | undefined>;
StackProps.marginInlineStart
optional marginInlineEnd:
| ResponsiveStyleValue<MarginInlineEnd<string | number> | readonly NonNullable<MarginInlineEnd<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<MarginInlineEnd<string | number> | readonly NonNullable<MarginInlineEnd<string | number> | undefined>[] | undefined>;
StackProps.marginInlineEnd
optional marginBlock:
| ResponsiveStyleValue<MarginBlock<string | number> | readonly NonNullable<MarginBlock<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<MarginBlock<string | number> | readonly NonNullable<MarginBlock<string | number> | undefined>[] | undefined>;
StackProps.marginBlock
optional marginBlockStart:
| ResponsiveStyleValue<MarginBlockStart<string | number> | readonly NonNullable<MarginBlockStart<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<MarginBlockStart<string | number> | readonly NonNullable<MarginBlockStart<string | number> | undefined>[] | undefined>;
StackProps.marginBlockStart
optional marginBlockEnd:
| ResponsiveStyleValue<MarginBlockEnd<string | number> | readonly NonNullable<MarginBlockEnd<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<MarginBlockEnd<string | number> | readonly NonNullable<MarginBlockEnd<string | number> | undefined>[] | undefined>;
StackProps.marginBlockEnd
optional padding:
| ResponsiveStyleValue<Padding<string | number> | readonly NonNullable<Padding<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<Padding<string | number> | readonly NonNullable<Padding<string | number> | undefined>[] | undefined>;
StackProps.padding
optional paddingTop:
| ResponsiveStyleValue<PaddingTop<string | number> | readonly NonNullable<PaddingTop<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<PaddingTop<string | number> | readonly NonNullable<PaddingTop<string | number> | undefined>[] | undefined>;
StackProps.paddingTop
optional paddingRight:
| ResponsiveStyleValue<PaddingRight<string | number> | readonly NonNullable<PaddingRight<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<PaddingRight<string | number> | readonly NonNullable<PaddingRight<string | number> | undefined>[] | undefined>;
StackProps.paddingRight
optional paddingBottom:
| ResponsiveStyleValue<PaddingBottom<string | number> | readonly NonNullable<PaddingBottom<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<PaddingBottom<string | number> | readonly NonNullable<PaddingBottom<string | number> | undefined>[] | undefined>;
StackProps.paddingBottom
optional paddingLeft:
| ResponsiveStyleValue<PaddingLeft<string | number> | readonly NonNullable<PaddingLeft<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<PaddingLeft<string | number> | readonly NonNullable<PaddingLeft<string | number> | undefined>[] | undefined>;
StackProps.paddingLeft
optional paddingX:
| ResponsiveStyleValue<PaddingLeft<string | number> | readonly NonNullable<PaddingLeft<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<PaddingLeft<string | number> | readonly NonNullable<PaddingLeft<string | number> | undefined>[] | undefined>;
StackProps.paddingX
optional paddingY:
| ResponsiveStyleValue<PaddingTop<string | number> | readonly NonNullable<PaddingTop<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<PaddingTop<string | number> | readonly NonNullable<PaddingTop<string | number> | undefined>[] | undefined>;
StackProps.paddingY
optional paddingInline:
| ResponsiveStyleValue<PaddingInline<string | number> | readonly NonNullable<PaddingInline<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<PaddingInline<string | number> | readonly NonNullable<PaddingInline<string | number> | undefined>[] | undefined>;
StackProps.paddingInline
optional paddingInlineStart:
| ResponsiveStyleValue<PaddingInlineStart<string | number> | readonly NonNullable<PaddingInlineStart<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<PaddingInlineStart<string | number> | readonly NonNullable<PaddingInlineStart<string | number> | undefined>[] | undefined>;
StackProps.paddingInlineStart
optional paddingInlineEnd:
| ResponsiveStyleValue<PaddingInlineEnd<string | number> | readonly NonNullable<PaddingInlineEnd<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<PaddingInlineEnd<string | number> | readonly NonNullable<PaddingInlineEnd<string | number> | undefined>[] | undefined>;
StackProps.paddingInlineEnd
optional paddingBlock:
| ResponsiveStyleValue<PaddingBlock<string | number> | readonly NonNullable<PaddingBlock<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<PaddingBlock<string | number> | readonly NonNullable<PaddingBlock<string | number> | undefined>[] | undefined>;
StackProps.paddingBlock
optional paddingBlockStart:
| ResponsiveStyleValue<PaddingBlockStart<string | number> | readonly NonNullable<PaddingBlockStart<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<PaddingBlockStart<string | number> | readonly NonNullable<PaddingBlockStart<string | number> | undefined>[] | undefined>;
StackProps.paddingBlockStart
optional paddingBlockEnd:
| ResponsiveStyleValue<PaddingBlockEnd<string | number> | readonly NonNullable<PaddingBlockEnd<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<PaddingBlockEnd<string | number> | readonly NonNullable<PaddingBlockEnd<string | number> | undefined>[] | undefined>;
StackProps.paddingBlockEnd
optional typography:
| ResponsiveStyleValue<string | undefined>
| (theme) => ResponsiveStyleValue<string | undefined>;
StackProps.typography
optional fontFamily:
| ResponsiveStyleValue<readonly string[] | FontFamily | undefined>
| (theme) => ResponsiveStyleValue<readonly string[] | FontFamily | undefined>;
StackProps.fontFamily
optional fontSize:
| ResponsiveStyleValue<FontSize<string | number> | readonly NonNullable<FontSize<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<FontSize<string | number> | readonly NonNullable<FontSize<string | number> | undefined>[] | undefined>;
StackProps.fontSize
optional fontStyle:
| ResponsiveStyleValue<readonly string[] | FontStyle | undefined>
| (theme) => ResponsiveStyleValue<readonly string[] | FontStyle | undefined>;
StackProps.fontStyle
optional fontWeight:
| ResponsiveStyleValue<string | string & object | number & object | undefined>
| (theme) => ResponsiveStyleValue<string | string & object | number & object | undefined>;
StackProps.fontWeight
optional letterSpacing:
| ResponsiveStyleValue<LetterSpacing<string | number> | readonly NonNullable<LetterSpacing<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<LetterSpacing<string | number> | readonly NonNullable<LetterSpacing<string | number> | undefined>[] | undefined>;
StackProps.letterSpacing
optional lineHeight:
| ResponsiveStyleValue<LineHeight<string | number> | readonly NonNullable<LineHeight<string | number> | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<LineHeight<string | number> | readonly NonNullable<LineHeight<string | number> | undefined>[] | undefined>;
StackProps.lineHeight
optional textAlign:
| ResponsiveStyleValue<TextAlign | readonly NonNullable<TextAlign | undefined>[] | undefined>
| (theme) => ResponsiveStyleValue<TextAlign | readonly NonNullable<TextAlign | undefined>[] | undefined>;
StackProps.textAlign
optional textTransform:
| ResponsiveStyleValue<readonly string[] | TextTransform | undefined>
| (theme) => ResponsiveStyleValue<readonly string[] | TextTransform | undefined>;
StackProps.textTransform
optional AccountComponent: ComponentType<{
account?: string;
}>;
optional ConnectComponent: ComponentType<{
onClick?: MouseEventHandler<HTMLElement>;
}>;
optional NoWalletInstalledComponent: ComponentType;
optional onAccountConnected: (account) => void;
Address
void
optional onCancel: () => void;
void
optional timeout: number;
@xyo-network/react-chain-provider
type BalanceTransactionType = "send" | "receive";
@xyo-network/react-chain-provider
type ConfirmationStatusUpdate = object;
blockNumber: number;
confirmed: boolean;
optional error: Error;
optional progress: number;
optional remainingBlocks: number;
@xyo-network/react-chain-provider
type TransactionConfirmationParams = object;
optional onStatusUpdate: (status) => void;
void
transaction: SignedHydratedTransaction;
txHash: Hash;
viewer: XyoViewer;
@xyo-network/react-chain-provider
const ConnectAccountsStack: React.FC<ConnectClientAccountsStackProps>;
@xyo-network/react-chain-provider
const ConnectedAccount: React.FC<{
address: string;
}>;
See the LICENSE file for license details
FAQs
XYO Layer One API
We found that @xyo-network/react-chain-provider demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
The worm-enabled campaign hit @emilgroup and @teale.io, then used an ICP canister to deliver follow-on payloads.

Research
/Security News
Attackers compromised Trivy GitHub Actions by force-updating tags to deliver malware, exposing CI/CD secrets across affected pipelines.

Security News
ENISA’s new package manager advisory outlines the dependency security practices companies will need to demonstrate as the EU’s Cyber Resilience Act begins enforcing software supply chain requirements.