Relysia
Relysia WalletAPI DocumentationGithub RepositoryDemo
  • Relysia SDK
  • Getting Started
    • Setup
    • API
    • Infrastructure
  • Wallets
    • Wallets
    • Mnemonic
    • Addresses
    • Metrics
    • Balance
    • History
  • Payments
    • Lookup
    • Sweep
    • URI
    • Transactions
    • Raw Transactions
    • Invoices
      • Create Invoice
      • Get Invoice
      • Pay Invoice
    • Payments
    • Asm
  • token
    • Basics
    • Token Issuance
    • NFT Issuance
    • Atomic Swaps
    • Details
    • Leaderboard
  • Utility
    • Post
    • Upload
    • Conversion
    • Paymail
    • Transpile-Compile
  • Enterprise Wallet
    • Overview
    • Authentication
    • Management
    • Wallet
    • Smart Contracts
    • Transaction
    • Fee Manager
    • Events
  • Realtime Transaction Notification
    • Use Case
    • Setup and Configuration
    • Events and Messages
  • More
    • Metashard
    • Satolearn
Powered by GitBook
On this page
  1. Payments

Asm

Create a Bitcoin script transaction

Asm trasaction:

With this endpoint user can create a trasaction by passing custom ASM script as input. This endpoint accept ASM script an amount of trasfer as input in request body. It send amount of BSV to target destination.

Asm doesn't support Token or NFT transfer, It only support BSV transfer.

const dataArray = [
    {
      "asm": "string",
      "amount": "number"
    }
];

Asm trasaction endpoint

POST https://api.relysia.com/v1/asm

The asm endpoint allows custom scripts to be added as outputs in a transaction

Headers

Name
Type
Description

walletId

string

Request Body

Name
Type
Description

dataArray

object

As per above

{
  "statusCode": 200,
  "data": {
    "status": "success",
    "txid": "string"
  }
}
PreviousPaymentsNextBasics

Last updated 1 year ago