Skip to main content

Cards

Methods

GetCardLibrary

GetCardLibrary(page?: Page) => (cards: []Card)

No Authentication Required
curl -X POST  -H 'content-type: application/json'\
--data-raw '{}' \
'https://api.skyweaver.net/rpc/SkyWeaverAPI/GetCardLibrary'

GetCardsByID

GetCardsByID(cardIDs: []uint64) => (cards: []Card)

No Authentication Required
curl -X POST  -H 'content-type: application/json'\
--data-raw '{"cardIDs": [1,2]}' \
'https://api.skyweaver.net/rpc/SkyWeaverAPI/GetCardsByID'

GetCardsByDeckString

GetCardsByDeckString(deckString: string) => (cards: []Card)

No Authentication Required
curl -X POST  -H 'content-type: application/json'\
--data-raw '{"deckString": "SWxAGW02iHzAiypQk4VH9xMGRJ7SaL7tG9k7ZeYKRG2Zk3X1HYx9LeUCQRmfykYyxM63n14XD18KDx627RMfFD7zvK"}' \
'https://api.skyweaver.net/rpc/SkyWeaverAPI/GetCardsByDeckString'

GetCardOwnership

GetCardOwnership(accountAddress?: string, contractQuery?: bool) => (res: CardOwnershipResponse)

No Authentication Required
curl -X POST  -H 'content-type: application/json'\
--data-raw '{"accountAddress": "0x0000000000000000000000000000000000000000"}' \
'https://api.skyweaver.net/rpc/SkyWeaverAPI/GetCardOwnership'

SearchCards

SearchCards(page?: Page, req: SearchCardsRequest) => (page?: Page, res: []CardWithBalance)

No Authentication Required
curl -X POST  -H 'content-type: application/json'\
--data-raw '{"req": {"criteria":{}, "includeUserBalances": true, "contractQuery": false}}' \
'https://api.skyweaver.net/rpc/SkyWeaverAPI/SearchCards'