## prepareTrustline `prepareTrustline(address: string, trustline: object, instructions: object): Promise` Prepare a trustline transaction. The prepared transaction must subsequently be [signed](#sign) and [submitted](#submit). ### Parameters <%- renderSchema("input/prepare-trustline.json") %> ### Return Value This method returns a promise that resolves with an object with the following structure: <%- renderSchema("output/prepare.json") %> ### Example ```javascript const address = 'r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59'; const trustline = <%- importFile('test/fixtures/requests/prepare-trustline.json') %>; return api.prepareTrustline(address, trustline).then(prepared => {/* ... */}); ``` <%- renderFixture("responses/prepare-trustline.json") %>