Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 972 Bytes

File metadata and controls

35 lines (27 loc) · 972 Bytes

LIST command

This command creates a list of items for use in BTNS commands

PARAMS

Name Type Description
TYPE String List type (1=address, 2=TICK, 3=ASSET)
ITEM String Any valid TICK, ASSET, or address

Formats

  • LIST|TYPE|ITEM|ITEM|ITEM

Examples

bt:LIST|1|1JDogZS6tQcSxwfxhv6XKKjcyicYA4Feev|1FWDonkMbC6hL64JiysuggHnUAw2CKWszs|bc1q5jw436vef6ezsgggk93pwhh9swrdxzx2e3a7kj
This example creates a list of addresses
bt:LIST|2|JDOG|BRRR|TEST
This example creates a list of BTNS token tickers
bt:LIST|3|XCP|RAREPEPE|JPMCHASE|A4211151421115130001
This example creates a list of counterparty assets

Rules

  • In order for a LIST to be considered valid, all tickers or addresses must be valid.
  • A TICK list contain only BTNS TICK items
  • A ASSET list contains only Counterparty ASSET items

Notes